// Package storeproductattr
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2024 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.7
package storeproductattr

import (
	"hotgo/internal/model/input/form"
	"hotgo/internal/model/input/store"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询商品属性列表
type ListReq struct {
	g.Meta `path:"/storeProductAttr/list" method:"get" tags:"商品属性" summary:"获取商品属性列表"`
	store.StoreProductAttrListInp
}

type ListRes struct {
	form.PageRes
	List []*store.StoreProductAttrListModel `json:"list"   dc:"数据列表"`
}

// ExportReq 导出商品属性列表
type ExportReq struct {
	g.Meta `path:"/storeProductAttr/export" method:"get" tags:"商品属性" summary:"导出商品属性列表"`
	store.StoreProductAttrListInp
}

type ExportRes struct{}

// ViewReq 获取商品属性指定信息
type ViewReq struct {
	g.Meta `path:"/storeProductAttr/view" method:"get" tags:"商品属性" summary:"获取商品属性指定信息"`
	store.StoreProductAttrViewInp
}

type ViewRes struct {
	*store.StoreProductAttrViewModel
}

// EditReq 修改/新增商品属性
type EditReq struct {
	g.Meta `path:"/storeProductAttr/edit" method:"post" tags:"商品属性" summary:"修改/新增商品属性"`
	store.StoreProductAttrEditInp
}

type EditRes struct{}

// DeleteReq 删除商品属性
type DeleteReq struct {
	g.Meta `path:"/storeProductAttr/delete" method:"post" tags:"商品属性" summary:"删除商品属性"`
	store.StoreProductAttrDeleteInp
}

type DeleteRes struct{}
